const github.com/gotd/td/telegram/downloader.cdnMaxChunk
5 uses
github.com/gotd/td/telegram/downloader (current package)
cdn_plan.go#L12: cdnMaxChunk = 1024 * 1024
cdn_plan.go#L17: if cdnMaxChunk%size == 0 {
cdn_plan.go#L40: plan := make([]cdnRequestRange, 0, 1+limit/cdnMaxChunk)
cdn_plan.go#L42: mbUsed := int(current % cdnMaxChunk)
cdn_plan.go#L43: mbLeft := cdnMaxChunk - mbUsed
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |